package cc.wanforme.st.server.vo.base;

import java.util.List;

import cc.wanforme.st.server.base.entity.Role;
import cc.wanforme.st.server.base.entity.User;

/** 用户角色
 * @author wanne
 * 2020年10月23日
 */
public class UserRoleVo {
	
	private UserVo user;
	
	private List<Role> roles;

	public UserRoleVo() {}
	
	public UserRoleVo(User user, List<Role> roles) {
		this.user = new UserVo(user);
		this.roles = roles;
	}
	
	public UserVo getUser() {
		return user;
	}
	
	public void setUser(UserVo user) {
		this.user = user;
	}
	
	public List<Role> getRoles() {
		return roles;
	}

	public void setRoles(List<Role> roles) {
		this.roles = roles;
	}
	
	
}
